using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.Provider
{
    public class CarCoverType
    {
        public CarCoverType()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        private Int64 _providercovertypeid;
        private Int64 _providercompanyId;
        private Int32 _cxcovertypeid;
        private Int64 _packageid;
        private string _providercovertypedesc;
        private float _coverrate;
        private float _minpremiumamount;
        private float _maxpremiumamount;

        //common field name
        private Int64 _refceuserid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        //private string _info1;
        //private string _info2;
        //private string _info3;
        //private string _info4;
        //private string _info5;
        //private Int64 _ninfo1;
        //private Int32 _ninfo2;
        private float _finfo1; //new rate
        //private float _finfo2;
        private DateTime _dinfo1; //effectivity date


        public Int64 ProviderCoverTypeId
        {
            get { return _providercovertypeid; }
            set { _providercovertypeid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyId; }
            set { _providercompanyId = value; }
        }

        public Int32 CXCoverTypeId
        {
            get { return _cxcovertypeid; }
            set { _cxcovertypeid = value; }
        }

        public Int64 PackageId
        {
            get { return _packageid; }
            set { _packageid = value; }
        }

        public string ProviderCoverTypeDescription
        {
            get { return _providercovertypedesc; }
            set { _providercovertypedesc = value; }
        }

        public float CoverRate
        {
            get { return _coverrate; }
            set { _coverrate = value; }
        }

        public float MinPremiumAmount
        {
            get { return _minpremiumamount; }
            set { _minpremiumamount = value; }
        }

        public float MaxPremiumAmount
        {
            get { return _maxpremiumamount; }
            set { _maxpremiumamount = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }
        
        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        //public string Info1
        //{
        //    get { return _info1; }
        //    set { _info1 = value; }
        //}

        //public string Info2
        //{
        //    get { return _info2; }
        //    set { _info2 = value; }
        //}

        //public string Info3
        //{
        //    get { return _info3; }
        //    set { _info3 = value; }
        //}

        //public string Info4
        //{
        //    get { return _info4; }
        //    set { _info4 = value; }
        //}

        //public string Info5
        //{
        //    get { return _info5; }
        //    set { _info5 = value; }
        //}

        //public Int64 NInfo1
        //{
        //    get { return _ninfo1; }
        //    set { _ninfo1 = value; }
        //}

        //public Int32 NInfo2
        //{
        //    get { return _ninfo2; }
        //    set { _ninfo2 = value; }
        //}


        public float FInfo1
        {
            get { return _finfo1; }
            set { _finfo1 = value; }
        }

        //public float FInfo2
        //{
        //    get { return _finfo2; }
        //    set { _finfo2 = value; }
        //}

        public DateTime DInfo1
        {
            get { return _dinfo1; }
            set { _dinfo1 = value; }
        }

        public void ClearFields()
        {
            _providercovertypeid = 0;
            _providercompanyId = 0;
            _cxcovertypeid = 0;
            _packageid = 0;
            _providercovertypedesc = "";
            _coverrate = 0.0f;
            //common field name
            _refceuserid = 0;
            _status = false;
            _createddate = new DateTime();
            _modifieddate = new DateTime();

            //extra field for future extend
            //_info1 = "";
            //_info2 = "";
            //_info3 = "";
            //_info4 = "";
            //_info5 = "";
            //_ninfo1 = 0;
            //_ninfo2 = 0;
            _finfo1 = 0.0f;
            //_finfo2 = 0.0f;
            _dinfo1 = new DateTime();
        }
    }
}
